﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ERPStore.Web.ModelMetadata
{
	public class ContactInfoMetadataDefinition : ModelMetadataDefinition<ERPStore.Models.ContactInfo>
	{
		public ContactInfoMetadataDefinition()
		{
			SetMetadataFor(p => p.Email).Required().DisplayName("Email");
			SetMetadataFor(p => p.FullName).Required().DisplayName("Nom");
			SetMetadataFor(p => p.Message).Required().DisplayName("Message");
			SetMetadataFor(p => p.PhoneNumber).Required().DisplayName("Téléphone");
		}
	}
}
